import 'package:easy_refresh/easy_refresh.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:sptapp/config/const.dart';

ClassicHeader myRefreshHeader(){
  return ClassicHeader(
      dragText:'pull-to-refresh',
      armedText:'Release refresh',
      readyText:'refresh...',
      processedText:'Refresh completed',
      messageText:'Time %T',
      textStyle: TextStyle(
      color: whiteFontColor,
        fontSize: 26.sp,
        fontWeight: FontWeight.w600
    ),
  );
}

ClassicFooter myRefreshFooter(){
  return const ClassicFooter(
      dragText:'',
      armedText:'',
      readyText:'',
      processedText:'',
      messageText:'',
      succeededIcon: SizedBox(),
      noMoreIcon: SizedBox(),
  );
}